package com.pucong.gitee.database.backup.common.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* @author pucong
* @company gitee.com/pucong
* @create 2020-12-02
*/
@Data
@TableName("sys_config")
@ApiModel("系统配置")
public class SysConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uuid",type = IdType.INPUT)
    @ApiModelProperty("主键")
    private String uuid;

    @TableField("code")
    @ApiModelProperty("编码")
    private String code;

    @TableField("value")
    @ApiModelProperty("值")
    private String value;

    @TableField("description")
    @ApiModelProperty("描述")
    private String description;

    @TableField("sort_index")
    @ApiModelProperty(value = "排序号",example = "0")
    private Integer sortIndex;

    @TableField("create_by")
    @ApiModelProperty(value = "创建人", example = "0")
    private Integer createBy;

    @TableField("create_time")
    @ApiModelProperty("创建时间")
    private Date createTime;

}
